<template>
	<view class="">
		<view class="u-error-bg plr-20 ptb-30 u-flex u-flex-items-center u-flex-between">
			<view class="ml-20 lh-40 u-success-light u-flex">
				<view class="">当前积分</view>
				<view class="">
					<text class="fsize-36">{{Amount}}</text>
					<text class="fsize-18">积分</text>
				</view>
			</view>
			<!-- <view>
				<u-button text="积分商城" type="warning" size="small"/>
			</view> -->
		</view>
		<view class="" id="cell-list">
			<view id="cell-list">
				<u-list :height="cellHeight" @scrolltolower="onScrollToLower" lowerThreshold="100">
					<u-list-item v-for="(cellItem, cellIndex) in cellList" :key="cellIndex">
						<u-cell
							:title="cellItem.FRemark"
							:label="cellItem.FDate"
							:value="`+${cellItem.FIntegral}`"
							center
							customStyle="customstyle">
						</u-cell>
					</u-list-item>
				</u-list>
			</view>
		</view>
	</view>
</template>

<script>
	import getCellHeight from "@/mixins/setCellHeight.js"
	import getCellData from "@/mixins/scrollMixins.js"
	export default {
		mixins:[getCellHeight, getCellData],
		data(){
			return {
				loadUrl: '/RptIntegralRecord'
			}
		},
		onLoad(){
			this.getData(this.loadUrl,this.pageIndex, this.pageSize)
		},
		methods:{
			
		}
	}
</script>

<style scoped lang="scss">
	
</style>